﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DddCms.Domain.Repository
{
    public interface IRepositoryItem<TEntity> : ICollection<TEntity>, IQueryable<TEntity> 
    {
        void Update(TEntity item);

        // Ok DataContext is not aware, but is beautiful passing cross repository
        void setDataContext(object dataContext);
    }
}
